<template>
  <!-- 整个首页页面 -->
  <el-container style="height: 100%">
    <el-aside width="auto">
      <ComAside></ComAside>
    </el-aside>
    <el-container>
      <el-header>
        <ComHeader></ComHeader>
      </el-header>
      <el-main>
        <Tag></Tag>
        <!-- 路由展示区域 -->
        <router-view></router-view>
      </el-main>
    </el-container>
  </el-container>
</template>

<script>
import Tag from "@/components/Tag.vue";
export default {
  name: "Main",
  components: {
    Tag,
  },
};
</script>

<style lang='less' scoped>
.el-header {
  background-color: #000;
  // width: 100%;
  color: #333;
  line-height: 60px;
}
.el-aside {
  background-color: #d3dce6;
  color: #333;
}

.el-main {
  background-color: #e9eef3;
  color: #333;
  overflow: hidden;
  padding-top: 5px;
}

// body > .el-container {
//   margin-bottom: 40px;
//   //   height: 100%;
// }

// .el-container:nth-child(5) .el-aside,
// .el-container:nth-child(6) .el-aside {
//   line-height: 260px;
// }

// .el-container:nth-child(7) .el-aside {
//   line-height: 320px;
// }
</style>